*
{
    margin: 0;
    padding: 0;
    outline: none;
}

html, body
{
    height: 100%;
    background-color: #E6E8EC;
}

img
{
    border: none;
}

.clear
{
    clear: both;
}

.main
{
    background: url(/uploads/mdom/images/main_top_background.jpg) no-repeat;
    margin: 0 auto 0;
    width: 998px;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    padding-bottom: 1px;
}

.top_placeholder
{
    height: 1px;
}

.header
{        
    margin: 181px auto 0; 
    width: 964px;  
}

.top_menu
{     
    height: 38px; 
    position: relative;
    bottom: -3px;
    right: 31px;  
}

.top_menu li
{
    display: inline-block;   
    float: right;    
    background: url(/uploads/mdom/images/yelloy_menu_background.png) no-repeat;
}

.top_menu .selected
{
    background: url(/uploads/mdom/images/white_menu_background.png) no-repeat;
}

.top_menu a
{
    display: block;
    width: 107px;
    height: 38px;
    position: relative;  
    text-decoration: none; 
    font-family: Arial;
    font-size: 14px;  
}

.contacts
{
    width: 64px;
    height: 32px;
    position: absolute;
    left: 20px;
    top: 16px; 
}

.top_menu .contacts
{  
    background: url(/uploads/mdom/images/contacts.png) no-repeat;
}

.top_menu .selected .contacts
{  
    background: url(/uploads/mdom/images/contacts_selected.png) no-repeat;
}

.discounts
{
    width: 50px;
    height: 14px;
    position: absolute;
    left: 27px;
    top: 16px; 
}

.top_menu .discounts
{  
    background: url(/uploads/mdom/images/discounts.png) no-repeat;
}

.top_menu .selected .discounts
{  
    background: url(/uploads/mdom/images/discounts_selected.png) no-repeat;
}

.articles
{
    width: 49px;
    height: 12px;
    position: absolute;
    left: 28px;
    top: 16px; 
}

.top_menu .articles
{  
    background: url(/uploads/mdom/images/articles.png) no-repeat;
}

.top_menu .selected .articles
{  
    background: url(/uploads/mdom/images/articles_selected.png) no-repeat;
}

.services
{
    width: 47px;
    height: 15px;
    position: absolute;
    left: 29px;
    top: 16px; 
}

.top_menu .services
{  
    background: url(/uploads/mdom/images/services.png) no-repeat;
}

.top_menu .selected .services
{  
    background: url(/uploads/mdom/images/services_selected.png) no-repeat;
}

.first_menu_item
{
    width: 56px;
    height: 12px;
    position: absolute;
    left: 24px;
    top: 16px; 
}

.top_menu .first_menu_item
{  
    background: url(/uploads/mdom/images/first_menu_item.png) no-repeat;
}

.top_menu .selected .first_menu_item
{  
    background: url(/uploads/mdom/images/first_menu_item_selected.png) no-repeat;
}

.content_wrapper
{  
    margin: 0 auto 0;       
    width: 964px; 
}

.content_top_cornerplace
{
    background: url(/uploads/mdom/images/content_top_connorplace_background.png);
    height: 15px;
}

.content
{
    background: url(/uploads/mdom/images/content_background.png);
    background-repeat: repeat-y;
    padding: 0 47px 167px 47px; 
}

.footer
{
    width: 991px;
    margin: -167px auto 0;
    height: 167px;
    background-color: #353535;    
}

.footer_top_cornerplace
{
    height: 7px;
    background-color: #353535;
}

.footer_left_top_corner
{
    float: left;
    display:block;
}

.footer_right_top_corner
{
    float: right;
    display:block;
}

.footer_top
{
    background-color: #353535;
    height:  97px;
    padding-left: 63px;
    padding-right: 63px; 
}

.logo_footer
{
    display: block;
    float: left;
    margin-top: 12px;
}

.footer_top_text
{
    float: left;
    margin-left: 16px;
    margin-top: 10px;
}

.footer_top_text p
{
    font-family: Verdana;
    font-size: 11px;
    line-height: 20px;
    color: #777777;
}

.footer_top_text a
{
    color: #afb4bb;
}

.logo_footer_guild
{
    display: block;
    float: right;
    margin-top: 17px;    
}

.footer_bottom
{
    background-color: #231f20;
    height: 63px;
    border-top: 1px solid #2c2a2b;
    padding-left: 63px;
    padding-right: 63px;
}

.footer_bottom_left
{
    float: left;
    margin-top: 10px;
}

.bottom_menu li, .copyright p
{
    font-family: Verdana;   
    font-size: 11px;
}

.bottom_menu li
{      
    display: inline-block; 
    float: left;
    margin-right: 14px;
}

.bottom_menu a, .copyright p
{
    text-decoration: none;
    color: #777777;    
}

.bottom_menu a:hover
{
    text-decoration: underline;
    color: #afb4bb; 
}

.copyright p
{
    margin-top: 5px;
}

.odnoklassniki, .facebook, .vk
{
    margin-top: 21px;
}

.odnoklassniki
{
    display: block;
    float: right;
}

.facebook
{
    display: block;
    float: right;
    margin-right: 27px;
}

.vk
{
    display: block;
    float: right;
    margin-right: 30px;
}
